package com.hippo.core.dao;

import com.alibaba.fastjson.JSONObject;
import com.hippo.core.entity.Scene;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: hippo
 */
@Mapper
public interface SceneDao {
    List<Scene> getSceneList(String projectId);

    int updateScene(JSONObject obj);

    int addScene(JSONObject obj);

    int deleteScene(JSONObject obj);

    String sceneVariableNameIsExist(JSONObject obj);

    Object checkSceneVariableExist(JSONObject obj);

    List<JSONObject> getSceneVariableList(JSONObject data);

    int countSceneVariable(JSONObject data);

    int addSceneVariable(JSONObject obj);

    int updateSceneVariable(JSONObject obj);

    int deleteSceneVariable(String id);
}


